<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>screen shot demo</title>
    <!--修改文件引入路径为你项目的路径即可-->
    <script src="./screenShotPlugin.umd.js"></script>
</head>
<body>


<div id="app">
    <div>
        截图插件文字展示
    </div>
    <br/>
    <button onclick="changeScreenShot()"> 点击截图 </button>
    <p>图片展示</p>
    <img src="./demo-img.jpeg" alt="">
</div>
</body>

<script type="text/javascript">
  const changeScreenShot = () => {
    new screenShotPlugin()
  }
</script>
</html>
